<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_WARNING",false);?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="http://localhost/ly/shop/Tpl/shopping-tp/css/shop.css" />
	<script type='text/javascript' src='http://localhost/ly/HDPHP/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
    <script type='text/javascript'>
		HOST = 'http://localhost';
		ROOT = 'http://localhost/ly/shop';
		WEB = 'http://localhost/ly/shop/index.php';
		URL = 'http://localhost/ly/shop/index.php/Index/goods/st_id/62.html';
		HDPHP = 'http://localhost/ly/HDPHP/hdphp';
		HDPHPDATA = 'http://localhost/ly/HDPHP/hdphp/Data';
		HDPHPTPL = 'http://localhost/ly/HDPHP/hdphp/Lib/Tpl';
		HDPHPEXTEND = 'http://localhost/ly/HDPHP/hdphp/Extend';
		APP = 'http://localhost/ly/shop/index.php';
		CONTROL = 'http://localhost/ly/shop/index.php/Index';
		METH = 'http://localhost/ly/shop/index.php/Index/goods';
		TPL = 'http://localhost/ly/shop/Tpl/shopping-tp';
		CONTROLTPL = 'http://localhost/ly/shop/Tpl/shopping-tp/Index';
		STATIC = 'http://localhost/ly/shop/Tpl/shopping-tp/Static';
		PUBLIC = 'http://localhost/ly/shop/Tpl/shopping-tp/Public';
		COMMON = 'http://localhost/ly/shop/Common';
		TEMPLATE = 'http://localhost/ly/shop/Template';
</script>
    <script  type="text/javascript" src="http://localhost/ly/shop/Tpl/shopping-tp/js/shop.js"></script>
	<title>【色丰衣家】品质网购，值得信赖！</title>
</head>
<body>
	<div id="ly">
		<div id="header">
			<div class="top_box">
				<div class="top_bar">
					<ul class="top_bar_left">
						<li class="title_shop">
							<a class="title_shop_is" href="">色丰衣家</a>
						</li>
					</ul>
					<ul class="top_bar_right">
						<?php if($_SESSION['user']['uid']){ ; ?>
						<li class="login1">
							<a class="login_is2">欢迎&nbsp;<?php echo $_SESSION['user']['username'] ; ?></a>
						</li>
						<li class="reg">
							<a class="reg_is" href="<?php echo U('Login/out');?>">退出</a>
						</li>
						<?php }else{; ?>
						<li class="login">
							<a class="login_is" href="<?php echo U('Login/login');?>">登陆</a>
						</li>
						<li class="reg">
							<a class="reg_is" href="">注册</a>
						</li>
						<?php } ;?>
						<li class="my_bb">
							<a class="my_bb_is" href="">
								我的宝贝
								<i class="jt"></i>								
							</a>
							<ul class="my_bb_list">
								<li><a  href="">购买的宝贝</a></li>
								<li><a  href="">收藏的宝贝</a></li>
								<li><a  href="">收藏的店铺</a></li>
							</ul>
						</li>
						<li class="help">
							<a class="help_is" href="">
								帮助
								<i class="jt"></i>
							</a>
							<ul class="help_list">
								<li><a  href="">帮助中心</a></li>
								<li><a  href="">客服专区</a></li>
								<li><a  href="">交易安全</a></li>
								<li><a  href="">货到付款</a></li>
								<li><a  href="">维权中心</a></li>
							</ul>
						</li>
						<li class="sq">
							<a href="">社区</a>
						</li>	
						<li class="dy_center">
							<a href="">订阅中心</a>
						</li>					
					</ul>
				</div>				
			</div>
			<div class="search_logo_box">
				<div class="search_logo">
					<div class="logo">
						<h1><a class="logo_is" href=""></a></h1>
					</div>
					<div class="search_box">
						<div class="pz_logo">
							<a class="pz_logo_is" href=""></a>
						</div>
						<div class="search_bar">
							<form action="">
								<div  class="txt_box">
									<input class="search_txt" type="text" value="请输入品牌或商品搜索名称">
								</div>
								<div  class="btn_box">
								   	<input class="search_btn" type="submit" value="">
								</div>
							</form>
						</div>
						<div class="shopping_box">
							<a class="shopping_box_is" href="<?php echo U('ShoppingCar/index');?>">
								<?php if($_SESSION['cart']['num']){ ?>
								<?php echo $_SESSION['cart']['num'];?>
								<?php }else{ echo 0 ?>
								<?php }; ?>
							</a>
						</div>
					</div>
				</div>
				<div class="nav_box">
					<div class="nav_bar">
						<div class="nav_bar_left">	
							<a href="<?php echo U(index);?>">首页</a>									
						</div>
						<div class="nav_bar_right">
							<ul>
								<li>
									<a href="">秋语送夏</a>
								</li>
								<li>
									<a href="">热卖TOP榜单</a>
								</li>
								<li>
									<a href="">清仓专区</a>
								</li>
								<li>
									<a href="">秒杀专区</a>
								</li>
								<li>
									<a href="">手机客户端</a>
								</li>
							</ul>
						</div>
					</div>
				</div>	
			</div>
		</div>
		<div class="empty15"></div>
		<div id="body">

			<!-- 主体内容区域 ↓-->
			<div class="content">
				<div class="flei">
					<div class="path">
						<span>所属位置</span>
						<span class="arr">></span>
						<a  tag="changeClass" href="">色丰衣家</a>
						<span class="arr">></span>
						<?php $hd["list"]["pi"]["total"]=0;if(isset($pidData) && !empty($pidData)):$_id_pi=0;$_index_pi=0;$lastpi=min(1000,count($pidData));
$hd["list"]["pi"]["first"]=true;
$hd["list"]["pi"]["last"]=false;
$_total_pi=ceil($lastpi/1);$hd["list"]["pi"]["total"]=$_total_pi;
$_data_pi = array_slice($pidData,0,$lastpi);
if(count($_data_pi)==0):echo "";
else:
foreach($_data_pi as $key=>$pi):
if(($_id_pi)%1==0):$_id_pi++;else:$_id_pi++;continue;endif;
$hd["list"]["pi"]["index"]=++$_index_pi;
if($_index_pi>=$_total_pi):$hd["list"]["pi"]["last"]=true;endif;?>

						<a  tag="changeClass" href=""><?php echo $pi['cname'];?></a>
						<span class="arr">></span>
						<?php $hd["list"]["pi"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
						<a  tag="changeClass" href="">商品详情</a>
					</div>
				</div>
				<!-- 放大镜区域 ↓-->
				<div class="detail">
					<div class="photo">

					<link rel = 'stylesheet' href = 'http://localhost/ly/HDPHP/hdphp/Extend/Org/Jqzoom/css/jquery.jqzoom.css' type = 'text/css'><script src = 'http://localhost/ly/HDPHP/hdphp/Extend/Org/Jqzoom/js/jquery.jqzoom-core.js' type = 'text/javascript'></script>
        <script type = 'text/javascript'>
        $(function() {
        $('#big_div').append(triumph);
        $('#small_div').append(smalls);
        $('.jqzoom').jqzoom({
        zoomType: 'standard',
        lens:true,
        title: false,
        preloadImages: true,
        alwaysOn:false,
        zoomWidth: 458,
        zoomHeight: 280,
        xOffset:10,
        yOffset:0
        });
        });
        </script>
        <script type = 'text/javascript'>
    var triumph = " <a href='<?php echo $file[0][2]?>' class='jqzoom' rel='gal1'>\
    <img src='<?php echo $file[0][1]?>' title='triumph' style='border: 4px solid #666;'>\
    </a>";var smalls="<?php foreach( $file as $k=>$v):?><?php $zoomThumbActive = $k==0?"zoomThumbActive":""?>
    <li>\
    <a class='<?php echo $zoomThumbActive?>' href='javascript:void(0);' rel=\"{gallery: 'gal1', smallimage: '<?php echo $v[1];?>',largeimage: '<?php echo $v[2];?>'}\">\
    <img src='<?php echo $v[0];?>'>\
    </a>\
    </li>\
    <?php endforeach;?>";</script>
						<!-- 中图区域 ↓-->
						<div id="big_div"></div>					
						<!-- 中图区域 ↑ -->

						<!-- 小图区域 ↓ -->
						<div id="small_div"></div>						
						<!-- 小图区域 ↑ -->

						<p class="other">
							
						</p>
					</div>
					<!-- 放大镜区域 ↑-->
					<div class="information">
						<div class="in-hd">
							<h3>
								<a href=""><?php echo $goods['gname'];?></a> 
							</h3>
							<p>品质保证 值得信赖</p>
						</div>
						<div class="prs">
							<ul >
								<li class="old-prise">
									<span class="pre-hd">价格</span>
									<span class="pre-cnt">
										<del>¥<?php echo $goods['price']*1.8;?>.00</del>
									</span>
								</li>
								<li class="prise">
									<span class="pre-hd">促销</span>
									<span class="pre-sCnt">¥<?php echo $goods['price'];?></span>
								</li>
								<li class="out">
									<span class="pre-hd">月销量</span>
									<span class="pre-num">700</span>
									<span>件</span>
								</li>
							</ul>
						</div>
						<div class="sf-key">
							<ul>
								<?php $hd["list"]["a"]["total"]=0;if(isset($goods['g_attr']) && !empty($goods['g_attr'])):$_id_a=0;$_index_a=0;$lasta=min(1000,count($goods['g_attr']));
$hd["list"]["a"]["first"]=true;
$hd["list"]["a"]["last"]=false;
$_total_a=ceil($lasta/1);$hd["list"]["a"]["total"]=$_total_a;
$_data_a = array_slice($goods['g_attr'],0,$lasta);
if(count($_data_a)==0):echo "";
else:
foreach($_data_a as $key=>$a):
if(($_id_a)%1==0):$_id_a++;else:$_id_a++;continue;endif;
$hd["list"]["a"]["index"]=++$_index_a;
if($_index_a>=$_total_a):$hd["list"]["a"]["last"]=true;endif;?>

								<li class="rule">
									<span class="key-hd"><?php echo $a['attr_name'];?></span>
									<?php $hd["list"]["n"]["total"]=0;if(isset($a['value']) && !empty($a['value'])):$_id_n=0;$_index_n=0;$lastn=min(1000,count($a['value']));
$hd["list"]["n"]["first"]=true;
$hd["list"]["n"]["last"]=false;
$_total_n=ceil($lastn/1);$hd["list"]["n"]["total"]=$_total_n;
$_data_n = array_slice($a['value'],0,$lastn);
if(count($_data_n)==0):echo "";
else:
foreach($_data_n as $key=>$n):
if(($_id_n)%1==0):$_id_n++;else:$_id_n++;continue;endif;
$hd["list"]["n"]["index"]=++$_index_n;
if($_index_n>=$_total_n):$hd["list"]["n"]["last"]=true;endif;?>

                                        <a av_id="<?php echo $n['attr_value_av_id'];?>" href="javascript:;"
                                           class="spec <?php if(in_array($n['attr_value_av_id'],$goods_spec)):?> hover<?php endif;?>">
                                            <?php echo $n['attr_value'];?>
                                        </a>
                                    <?php $hd["list"]["a"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
								</li>
								<?php $hd["list"]["n"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
								<li class="number">
									<span class="key-hd number-hd">数量</span>
									<span class="control">
										<input type="text" class="cot-num" name="gcount" value="1">
										<span class="up"></span>
										<span class="down"></span>
									</span>
									<input type="hidden" name="st_id" value="<?php echo $goods['st_id'];?>"/>
									<span class="kc">库存<strong id='stock'><?php echo $goods['stock'];?></strong>件</span>
								</li>
								<li class="toBuy">
									<a class="inCar" href="<?php echo U('shoppingCar/add');?>&st_id=<?php echo $goods['st_id'];?>&gcount=1"></a>
								</li>
							</ul>
						</div>
					</div>
				</div>
				<div class="empty15"></div>
				<div class="youKown">
					<div class="info-list">
						<span>商品参数</span>
						<span>商品详情</span>
						<span>服务条款</span>
						<span>商品评论</span>
					</div>
					<div class="cs">
						<div class="cs-hd">商品参数：</div>
						<ul class="cs-cnt">
							<?php $hd["list"]["a"]["total"]=0;if(isset($goods['attr']) && !empty($goods['attr'])):$_id_a=0;$_index_a=0;$lasta=min(1000,count($goods['attr']));
$hd["list"]["a"]["first"]=true;
$hd["list"]["a"]["last"]=false;
$_total_a=ceil($lasta/1);$hd["list"]["a"]["total"]=$_total_a;
$_data_a = array_slice($goods['attr'],0,$lasta);
if(count($_data_a)==0):echo "";
else:
foreach($_data_a as $key=>$a):
if(($_id_a)%1==0):$_id_a++;else:$_id_a++;continue;endif;
$hd["list"]["a"]["index"]=++$_index_a;
if($_index_a>=$_total_a):$hd["list"]["a"]["last"]=true;endif;?>

		                        <?php if($a['is_spec']==0){?>
		                            <li><?php echo $a['attr_name'];?>:<?php echo implodeAttrValue($a['value']);?></li>
		                        <?php }?>
		                    <?php $hd["list"]["a"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
						</ul>
					</div>
					<div class="empty15"></div>
					<div class="xq">
						<div class="cs-hd se">商品详情：</div>
						<div>
							<?php echo $goods['body'];?>
						</div>
					</div>
					<div class="empty15"></div>
					<div class="fwtk">
						<div class="cs-hd se">服务条款：</div>
						<ul class="fwtk-cnt">
							<li class="f-hd">退换货承诺</li>
							<li>自商品签收之日起7日内，色丰衣家为您提供退换货服务</li>
							<li class="f-hd">联系我们</li>
							<li>电话: 77-580&nbsp;&nbsp;&nbsp;&nbsp;QQ: 7758258</li>
							<li class="f-hd">退换货政策</li>
							<li>1、一张订单色丰衣家只提供一次退换货服务，为了确保您的权益，请考虑周全后与我们联系。</li>
							<li>2、请确保商品吊牌及各种包装完整。</li>
							<li>3、如果想要退换货请登录“用户中心”-“我要退换货” 自助申请即可。</li>

							<li>4、退换货申请必须的要求：</li>

							<li class="f-cnt">1）色丰衣家为您提供7天无条件退换货，如需办理退换货，请于签收之日7日内提交退换货申请，逾期不予退换；</li>

							<li class="f-cnt">2）因您个人原因造成的商品损坏（如自行修改尺寸、洗涤、皮具打油、刺绣、长时间穿着等）将不予退换。</li>

							<li class="f-cnt">3）退货时请确保商品的外包装完好无损（包括包裹填充物及外包装箱或外包装袋），商品附件、吊牌、标签等齐全，商品保持官方商城出售时的原质原样，不影响二次销售。</li>

							<li class="f-cnt">4）退换货单齐全，如果已开发票的要求发票齐全。</li>

							<li class="f-cnt">5）如您进行礼包或套装中的商品部分退换，将无法享受礼包或套装购买时的优惠。商品销售页面明确标注不支持部分退换的，依据标注内容处理。</li>

							<li>5、以下情况不提供退换货服务：</li>

							<li class="f-cnt">1）超过退换货规定时限的商品。</li>
							<li class="f-cnt">2）已经穿着过或洗涤过的商品。</li>
							<li class="f-cnt">3）已经修改或加工过的商品。</li></li>
							<li class="f-cnt">4 ）商品吊牌、商标、票据等有缺失的商品。</li>
							<li class="f-cnt">5 ）少量色差问题商品（发错颜色商品除外）。</li>
							<li class="f-cnt">6 ） 对于商品本身的附件（如连衣裙搭配的腰带）损坏、弄丢原因造成的问题不予退换。</li>

							<li>6、退换货费用问题</li>

							<li class="f-cnt">a、退换货： 由于质量问题导致的退换货，色丰衣家城承担来回的运费，买家寄回时垫付运费稍后给您退款。 非质量问题的退换货需由买家承担来回的费用。</li>

							<li class="f-cnt">b、退换货邮费差价：若客户在退换过程中产生邮费差价或货品差价，可直接通过“邮费补拍”自行选购，付款后联系客服进行退换货处理事宜。</li>

							<li>7、礼包或套装中的商品不可以部分退货，因退货后，原礼包或套装中商品将无法享受购买时优惠。</li>
							<li>8、图片及信息仅供参照，因拍摄灯光及不同显示器色差等问题可能造成商品图片与实物有一定色差，一切以实物为准。</li>

							<li class="f-hd">温馨提示</li>

							<li>为保障您的权益，请在签收商品前与配送员当面核对商品种类、数量、规格、赠品、金额是否与订单一致，产品包装是否完好无损，准确 无误再进行签收。</li>
						</ul>
					</div>
					<div class="empty15"></div>
					<div class="discuss">
						<div class="cs-hd se">商品评论：</div>
						<ul class="fwtk-cnt">
							<li>
								<span class="pj">评价</span>
								<span class="mz">买主</span>
								<span class="hp">好评度</span>
								<span class="time">评论时间</span>
							</li>
							<li>
								<span class="pj-s">这衣服真心不错，快买吧。</span>
								<span class="mz-s">白云</span>
								<span class="hp-s">好评</span>
								<span class="time-s">2013-9-10</span>
							</li>
							<li>
								<span class="pj-s">还行。</span>
								<span class="mz-s">黑土</span>
								<span class="hp-s">中评</span>
								<span class="time-s">2013-9-10</span>
							</li>
						</ul>
					</div>
				</div>

				<!-- 左侧区域 ↓-->
				<div id="cnt-left">
					<div class="tltj">
						<div class="cnt-left-hd"> 同类推荐</div>
						<ul>
							<li>
								<a class="photo" href="">
									<img src="http://localhost/ly/shop/Tpl/shopping-tp/images/item.jpg" alt="">
								</a>
								<p class="prices">
									<span class="price">¥ 128.00</span>
									<span class="price_old">
										<del>680.00</del>
									</span>
									<span class="icon_promo">
										促销
										<i class="arr"></i>
									</span>
								</p>
								<h3  class="name">
									<a href="#">
										2013夏秋装新品长袖披肩空调衫小外套防晒衣针织衫女开衫薄 
									</a>
								</h3>
							</li>
							<li>
								<a class="photo" href="">
									<img src="http://localhost/ly/shop/Tpl/shopping-tp/images/item.jpg" alt="">
								</a>
								<p class="prices">
									<span class="price">¥ 128.00</span>
									<span class="price_old">
										<del>680.00</del>
									</span>
									<span class="icon_promo">
										促销
										<i class="arr"></i>
									</span>
								</p>
								<h3  class="name">
									<a href="#">
										2013夏秋装新品长袖披肩空调衫小外套防晒衣针织衫女开衫薄 
									</a>
								</h3>
							</li>
							<li>
								<a class="photo" href="">
									<img src="http://localhost/ly/shop/Tpl/shopping-tp/images/item.jpg" alt="">
								</a>
								<p class="prices">
									<span class="price">¥ 128.00</span>
									<span class="price_old">
										<del>680.00</del>
									</span>
									<span class="icon_promo">
										促销
										<i class="arr"></i>
									</span>
								</p>
								<h3  class="name">
									<a href="#">
										2013夏秋装新品长袖披肩空调衫小外套防晒衣针织衫女开衫薄 
									</a>
								</h3>
							</li>
							<li>
								<a class="photo" href="">
									<img src="http://localhost/ly/shop/Tpl/shopping-tp/images/item.jpg" alt="">
								</a>
								<p class="prices">
									<span class="price">¥ 128.00</span>
									<span class="price_old">
										<del>680.00</del>
									</span>
									<span class="icon_promo">
										促销
										<i class="arr"></i>
									</span>
								</p>
								<h3  class="name">
									<a href="#">
										2013夏秋装新品长袖披肩空调衫小外套防晒衣针织衫女开衫薄 
									</a>
								</h3>
							</li>
						</ul>
					</div>
				</div>
				<!-- 左侧区域 ↑-->
			</div>

		</div>
		<!-- 主体内容区域 ↑-->

		<div class="empty15"></div>
			
		<!-- 尾部信息 ↓-->
		<div id="footer">
			<div class="footer_black">
				<div class="footer_black_left"><a href=""></a></div>
				<div class="footer_black_mid"><a href=""></a></div>
				<div class="footer_black_right"><a href=""></a></div>
			</div>
			<div class="empty15"></div>
			<div class="service_list">
				<div class="inner">
					<div class="inner_is tiro">
						<dl>
							<dt>新手指南</dt>
							<dd>
								<p><a href="">新人购物指南</a></p>
								<p><a href="">商户服务平台</a></p>
								<p><a href="">消费者维权中心</a></p>
							</dd>
						</dl>
					</div>
					<div class="inner_is ensure">
						<dl>
							<dt>购物保障</dt>
							<dd>
								<p><a href="">全场正品</a></p>
								<p><a href="">先行赔付</a></p>
								<p><a href="">快速发货</a></p>
								<p><a href="">7天免邮包退</a></p>
							</dd>
						</dl>
					</div>
					<div class="inner_is pay">
						<dl>
							<dt>支付方式</dt>
							<dd>
								<p><a href="">货到付款</a></p>
								<p><a href="">一点通支付</a></p>
								<p><a href="">信用卡支付</a></p>
								<p><a href="">借记卡支付</a></p>
								<p><a href="">财付通余额支付</a></p>
							</dd>
						</dl>
					</div>
					<div class="inner_is service">
						<dl>
							<dt>服务中心</dt>
							<dd>
								<p><a href="">网购规则平台</a></p>
								<p><a href="">如何加入色丰衣家</a></p>
								<p><a href="">加入色丰衣家外部团队</a></p>
							</dd>
						</dl>
					</div>
				</div>
			</div>
			<div class="empty15"></div>
			<div class="footer_bar">
				<div class="inner_bar">
					<div class="link">
						<p>Copyright © 2013 色丰衣家 • SeFeng Online Shopping Mall</p>
						<p>网站的创意，素材来源网络 丨 Designer by - 李晔</p>
					</div>
				</div>		
			</div>
		</div>
		<!-- 尾部信息 ↑-->
	</div>
</body>
</html>